ComplexBorderSide Constructor(Color,Int32,DashStyle,Single[],Single[])
In This Topic
Creates one side of a four-sided, complex border with the specified color, width, dash style, dash pattern, and compound array.
Syntax
'Declaration
Public Function New( _
ByVal As Color, _
ByVal As Integer, _
ByVal As DashStyle, _
ByVal () As Single, _
ByVal () As Single _
)
'Usage
Dim color As Color
Dim width As Integer
Dim dashStyle As DashStyle
Dim dashPattern() As Single
Dim compoundArray() As Single
Dim instance As New ComplexBorderSide(color, width, dashStyle, dashPattern, compoundArray)
public ComplexBorderSide(
Color ,
int ,
DashStyle ,
float[] ,
float[]
)
Parameters
- color
- Color for this side of the border
- width
- Width of this side of the border, in pixels
- dashStyle
- Style of dashed line for this side of the border; a setting of the DashStyle enumeration of the Microsoft .NET Framework
- dashPattern
- Pattern of dashes for this side of the border
- compoundArray
- Array of values that specify a compound line made up of parallel lines and spaces
See Also